﻿<MChip Color="#e0e0e0" OnClick="OnClick" Ripple=false Small Outlined Class="@Class" Style="@Style">
    <div style="@($"color: {EnvironmentColor} !important")" class="text-overflow">@EnvironmentName</div>&nbsp;&nbsp;
    <div style="color:#05CD99">@ClusterName</div>
</MChip>

@code {
    [Parameter]
    public string Class { get; set; } = "";

    [Parameter]
    public string Style { get; set; } = "";

    [Parameter]
    public string EnvironmentName { get; set; } = "";

    [Parameter]
    public string EnvironmentColor { get; set; } = "";

    [Parameter]
    public string ClusterName { get; set; } = "";

    [Parameter]
    public EventCallback OnClick { get; set; }
}
